/* 历史名人页面基础样式 */
.figure-page {
    padding: 20px;
    background-color: #c8805a;
    color: #f0f0f0;
}

.figure-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 标题样式 */
.figure-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #CCFF66;
}

.figure-header h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-weight: bold;
}

.figure-header .period {
    font-size: 18px;
    color: #CCFF66;
    font-style: italic;
}

/* 内容布局 */
.figure-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
}

/* 人物图片 */
.figure-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.figure-image:hover {
    transform: scale(1.03);
}

.figure-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 人物详情 */
.figure-details h2 {
    font-size: 24px;
    color: #CCFF66;
    margin-bottom: 15px;
    font-weight: 600;
}

.figure-details p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

/* 成就列表 */
.achievements {
    background: linear-gradient(135deg, rgba(13, 50, 33, 0.3), rgba(21, 74, 51, 0.3));
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.achievements h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.achievements h3::before {
    content: "✦";
    margin-right: 10px;
    color: #CCFF66;
}

.achievements ul {
    padding-left: 20px;
}

.achievements li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.achievements li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #CCFF66;
    font-size: 18px;
}

/* 返回按钮 */
.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #CCFF66;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border: 1px solid #CCFF66;
    border-radius: 4px;
}

.back-link:hover {
    background-color: rgba(204, 255, 102, 0.1);
    transform: translateX(-3px);
}

.back-link i {
    margin-right: 5px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .figure-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .figure-content {
        grid-template-columns: 1fr;
    }
    
    .figure-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .figure-header h1 {
        font-size: 26px;
    }
    
    .figure-details h2 {
        font-size: 22px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.figure-container {
    animation: fadeInUp 0.8s ease forwards;
}

.figure-image, .figure-details {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.figure-image {
    animation-delay: 0.2s;
}

.figure-details {
    animation-delay: 0.4s;
}